<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>JVM: Referência ao ficheiro src/frame.h</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Gerado por Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Página&nbsp;principal</span></a></li>
      <li class="current"><a href="files.html"><span>Ficheiros</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Referência ao ficheiro src/frame.h</h1><hr><a name="_details"></a><h2>Descrição detalhada</h2>
Funções de criar frame de method; inserir e retirar opcode da pilha. 
<p>

<p>Definido no ficheiro <a class="el" href="frame_8h-source.html">frame.h</a>.</p>

<p>
<code>#include &quot;<a class="el" href="common_8h-source.html">common.h</a>&quot;</code><br>

<p>
<a href="frame_8h-source.html">Ir para o código fonte deste ficheiro.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Funções</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">method_frame *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="frame_8h.html#698fea00633a4b8f2b81a3cb487a3775">new_frame</a> (method_info *method, cp_info *cp, <a class="el" href="common_8h.html#e5be1f726785414dd1b77d60df074c9d">u4</a> method_index)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cria um frame.  <a href="#698fea00633a4b8f2b81a3cb487a3775"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="frame_8h.html#933f1e8cae1f49dc567fc50f168f81f4">push_op</a> (intfloat data)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Insere 32bits na pilha do frame.  <a href="#933f1e8cae1f49dc567fc50f168f81f4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="common_8h.html#e5be1f726785414dd1b77d60df074c9d">u4</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="frame_8h.html#476056fa1ad5011af5291b92bfe49110">pop_op</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retira 32bits da pilha do frame.  <a href="#476056fa1ad5011af5291b92bfe49110"></a><br></td></tr>
</table>
<hr><h2>Documentação das funções</h2>
<a class="anchor" name="698fea00633a4b8f2b81a3cb487a3775"></a><!-- doxytag: member="frame.h::new_frame" ref="698fea00633a4b8f2b81a3cb487a3775" args="(method_info *method, cp_info *cp, u4 method_index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">method_frame* new_frame           </td>
          <td>(</td>
          <td class="paramtype">method_info *&nbsp;</td>
          <td class="paramname"> <em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cp_info *&nbsp;</td>
          <td class="paramname"> <em>cp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="common_8h.html#e5be1f726785414dd1b77d60df074c9d">u4</a>&nbsp;</td>
          <td class="paramname"> <em>method_index</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Cria um frame. 
<p>
<dl compact><dt><b>Parâmetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>method</em>&nbsp;</td><td>O método </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cp</em>&nbsp;</td><td>O constant pool </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>method_index</em>&nbsp;</td><td>O índice do método no constant pool </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Retorna:</b></dt><dd>O novo frame criado </dd></dl>

</div>
</div><p>
<a class="anchor" name="476056fa1ad5011af5291b92bfe49110"></a><!-- doxytag: member="frame.h::pop_op" ref="476056fa1ad5011af5291b92bfe49110" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="common_8h.html#e5be1f726785414dd1b77d60df074c9d">u4</a> pop_op           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retira 32bits da pilha do frame. 
<p>
<dl class="return" compact><dt><b>Retorna:</b></dt><dd>O dado que estava no topo </dd></dl>

</div>
</div><p>
<a class="anchor" name="933f1e8cae1f49dc567fc50f168f81f4"></a><!-- doxytag: member="frame.h::push_op" ref="933f1e8cae1f49dc567fc50f168f81f4" args="(intfloat data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void push_op           </td>
          <td>(</td>
          <td class="paramtype">intfloat&nbsp;</td>
          <td class="paramname"> <em>data</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Insere 32bits na pilha do frame. 
<p>
<dl compact><dt><b>Parâmetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>O dado a ser inserido </td></tr>
  </table>
</dl>

</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Gerado em Wed Jul 1 15:56:08 2009 para JVM por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
